x11: Stop using gdk_display_get_default_screen
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Nov 2017 22:06:24 +0000 (18:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Nov 2017 23:44:28 +0000 (19:44 -0400)
commite3daf986caff31c2a1a4e8780206b759518690c2
treec8fd57914308d41ac9db4aa1606267ba9a1b943a
parent473c642131e5dfcbfdf2c26e1d6464b5fbccc9a2
x11: Stop using gdk_display_get_default_screen

There's no point in using this api here, we can directly
get the screen member from the GdkX11Display struct.
gdk/x11/gdkapplaunchcontext-x11.c
gdk/x11/gdkdevice-core-x11.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkmonitor-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkwindow-x11.c